package com.viking.mapper;

import com.viking.entity.PrivateUser;

import java.util.List;

/**
 * @program: vikingclient
 * @Description:
 * @author: Mr.Cheng
 * @Email: ccelephant_518@126.com
 * @date: 2023/3/22 20:00
 */
public interface PrivateUserMapper {
    /**
     * 插入私有用户
     * @param privateUser
     * @return
     */
    public int insertPrivateUser(PrivateUser privateUser);
    /**
     * 删除私有用户
     * @param privateUser
     * @return
     */
    public int deletePrivateUser(PrivateUser privateUser);
    /**
     * 更新私有用户
     * @param privateUser
     * @return
     */
    public int updatePrivateUser(PrivateUser privateUser);
    /**
     * 查询私有用户
     * @return
     */
    public List<PrivateUser> selectAllPrivateUser();
    /**
     * 根据工号查询私有用户
     * @param jobNum
     * @return
     */
    public PrivateUser selectPrivateUserByJobNum(String jobNum);
}
